<!-- 顶部开始 -->

<div class="container">
	<div class="logo">
		<a href="/">Xfast</a></div>
	<ul class="layui-nav left fast-add" lay-filter="">
		<li class="layui-nav-item">
			<a href="javascript:;">新增</a>
		</li>
		<li class="layui-nav-item">
			<a href="javascript:;">新增</a>
		</li>
		<li class="layui-nav-item">
			<a href="javascript:;">新增</a>
		</li>
	</ul>
	<ul class="layui-nav right" lay-filter="">
		<li class="layui-nav-item">
			<a href="javascript:;">${session.local!} ${user.role.name}[${user.login_id}]</a>
		</li>
		<li class="layui-nav-item">
			<a href="#" onclick="updatePwd();">${I18N('修改密码')}</a></li>
		<li class="layui-nav-item">
			<a href="/doExit">${I18N('退出')}</a></li>
	</ul>
</div>
<script type="text/javascript">
	var updatePwd = function () {
		var dialog = parent.sy.modalDialog({
			title: I18N('修改密码'),
			url: '/toUpdatePwd',
			buttons: [{
				text: $.I18N('确定'),
				handler: function () {
					dialog.find('iframe').get(0).contentWindow.btnSaveCallback(dialog, parent.$);
				}
			}]
		}, 400, 230);
	};
</script>
<!-- 顶部结束 -->